package org.bim.view.drag.design.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author huangr
 * @date 2022/2/17 2:26 下午
 */
@Getter
@Setter
@Table(name = "t_project_share")
public class TProjectShare extends BaseEntity {
    @NotBlank(message = "项目Id不能为空")
    private String projectId;
    @NotBlank(message = "用户Id不能为空")
    private String shareId;
    @NotNull(message = "角色不能为空")
    private Integer shareRole;
}
